/*
 * {comment of class}
 *
 * @author (C) <a href="http://www.carfield.com.hk">Carfield Yim</a>, 2004
 */
package hk.com.carfield.content;

import hk.com.carfield.core.Config;

import java.io.File;

public final class Real extends PluginItem {
	public Real(final Config config, final File file) {
		super(config, file);
	}

    public String pluginHtml(final String path) {
    	return "<EMBED TYPE=\"audio/x-pn-realaudio-plugin\" CONSOLE=\"Clip\""+
    		"CONTROLS=\"ImageWindow\" WIDTH=\"320\" HEIGHT=\"240\"><BR>"+
    		"<EMBED NAME=\"player\"	SRC=\""+path+"\" TYPE=\"audio/x-pn-realaudio-plugin\" CONSOLE=\"Clip\" CONTROLS=\"ControlPanel\"><BR>"+
    		"<EMBED TYPE=\"audio/x-pn-realaudio-plugin\" CONSOLE=\"Clip\" CONTROLS=\"StatusBar\" WIDTH=\"320\" HEIGHT=\"30\"><P>";

    }
    
    //TODO see if self descriptable if we can extra metadata from REAL files
}
